package com.kc.web.controller.business;

import com.kc.business.domain.BizTourguideGoods;
import com.kc.business.domain.BizTourguideOrder;
import com.kc.business.service.IBizTourguideOrderService;
import com.kc.common.core.controller.BaseController;
import com.kc.common.core.page.TableDataInfo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * 导游订单管理
 */
@RestController
@RequestMapping("/business/tourguideOrder")
public class BizTourguideOrderController extends BaseController {
    @Autowired
    private IBizTourguideOrderService tourguideOrderService;
    /**
     * 导游订单列表
     * @param bizTourguideOrder
     * @return
     */
    @PreAuthorize("@ss.hasPermi('business:tourguideOrder:list')")
    @GetMapping("/list")
    public TableDataInfo getList(BizTourguideOrder bizTourguideOrder){
        startPage();
        return getDataTable(tourguideOrderService.getList(bizTourguideOrder));
    }
}
